FROM elasticsearch
USER elasticsearch
COPY config/es-slave2.yml /usr/share/elasticsearch/config/elasticsearch.yml
EXPOSE 9200 9300
VOLUME /usr/share/elasticsearch/logs
VOLUME /usr/share/elasticsearch/data
CMD ./bin/elasticsearch